const NODE_ENV = process.env.NODE_ENV;

const BASE_URL = system_configs[NODE_ENV]['base_url'];
const BASE_FILE_URL = system_configs[NODE_ENV]['base_file_url'];
const URL_SUFFIX = '';

export const BASE_PATH = system_configs[NODE_ENV]['base_path'];
export const BASE_STATIC_URL = system_configs[NODE_ENV]['base_static_url'];
export const BASE_MP_URL = system_configs[NODE_ENV]['base_mp_url'];

export const fileUploadUri = BASE_FILE_URL + '/upload/form' + URL_SUFFIX;
export const fileUploadByBase64Uri = BASE_FILE_URL + '/upload/base64' + URL_SUFFIX;
export const ueFileUploadUri = BASE_FILE_URL + '/upload/ue' + URL_SUFFIX;

export const regionAllUri = `${BASE_URL}/region/all${URL_SUFFIX}`;
export const regionTreeUri = `${BASE_URL}/region/tree${URL_SUFFIX}`;
export const regionChildrenUri = `${BASE_URL}/region/children${URL_SUFFIX}`;

export const userLoginUri = `${BASE_URL}/user/login${URL_SUFFIX}`;
export const userLoginByTokenUri = `${BASE_URL}/user/login_by_token${URL_SUFFIX}`;
export const userLogoutUri = `${BASE_URL}/user/logout${URL_SUFFIX}`;

export const roleListsUri = `${BASE_URL}/role/lists${URL_SUFFIX}`;
export const roleAllUri = `${BASE_URL}/role/all${URL_SUFFIX}`;
export const roleResourcesUri = `${BASE_URL}/role/resources${URL_SUFFIX}`;
export const roleInfoUri = `${BASE_URL}/role/info${URL_SUFFIX}`;
export const roleAddUri = `${BASE_URL}/role/add${URL_SUFFIX}`;
export const roleEditUri = `${BASE_URL}/role/edit${URL_SUFFIX}`;
export const roleDeleteUri = `${BASE_URL}/role/delete${URL_SUFFIX}`;

export const resourceListsUri = `${BASE_URL}/resource/lists${URL_SUFFIX}`;
export const resourceOptionsUri = `${BASE_URL}/resource/options${URL_SUFFIX}`;
export const resourceInfoUri = `${BASE_URL}/resource/info${URL_SUFFIX}`;
export const resourceSubmitUri = `${BASE_URL}/resource/submit${URL_SUFFIX}`;
export const resourceDeleteUri = `${BASE_URL}/resource/delete${URL_SUFFIX}`;

export const adminListsUri = `${BASE_URL}/admin/lists${URL_SUFFIX}`;
export const adminInfoUri = `${BASE_URL}/admin/info${URL_SUFFIX}`;
export const adminSubmitUri = `${BASE_URL}/admin/submit${URL_SUFFIX}`;
export const adminLockUri = `${BASE_URL}/admin/lock${URL_SUFFIX}`;
export const adminUnlockUri = `${BASE_URL}/admin/unlock${URL_SUFFIX}`;
export const adminPasswordUri = `${BASE_URL}/admin/password${URL_SUFFIX}`;

export const advPositionListsUri = `${BASE_URL}/adv_position/lists${URL_SUFFIX}`;
export const advPositionSaveUri = `${BASE_URL}/adv_position/save${URL_SUFFIX}`;
export const advPositionDeleteUri = `${BASE_URL}/adv_position/delete${URL_SUFFIX}`;
export const advPositionAllUri = `${BASE_URL}/adv_position/all${URL_SUFFIX}`;

export const advListsUri = `${BASE_URL}/adv/lists${URL_SUFFIX}`;
export const advSaveUri = `${BASE_URL}/adv/save${URL_SUFFIX}`;
export const advDeleteUri = `${BASE_URL}/adv/delete${URL_SUFFIX}`;
export const advInfoUri = `${BASE_URL}/adv/info${URL_SUFFIX}`;

export const siteConfigAllUri = `${BASE_URL}/site_config/all${URL_SUFFIX}`;
export const siteConfigSaveUri = `${BASE_URL}/site_config/save${URL_SUFFIX}`;

export const constantsUri = `${BASE_URL}/index/constants${URL_SUFFIX}`;

export const memberListsUri = `${BASE_URL}/member/lists${URL_SUFFIX}`;
export const memberLockUri = `${BASE_URL}/member/lock${URL_SUFFIX}`;
export const memberConstantsUri = `${BASE_URL}/member/constants${URL_SUFFIX}`;
export const memberSaveUri = `${BASE_URL}/member/save${URL_SUFFIX}`;
export const memberInfoUri = `${BASE_URL}/member/info${URL_SUFFIX}`;
export const memberRecommendUri = `${BASE_URL}/member/recommend${URL_SUFFIX}`;
export const memberLiveRoomBgUri = `${BASE_URL}/member/live_room_bg${URL_SUFFIX}`;

export const memberAuthListsUri = `${BASE_URL}/member_auth/lists${URL_SUFFIX}`;
export const memberAuthApproveUri = `${BASE_URL}/member_auth/approve${URL_SUFFIX}`;
export const memberAuthRejectUri = `${BASE_URL}/member_auth/reject${URL_SUFFIX}`;
export const memberAuthUserAvatarListUri = `${BASE_URL}/member_auth/user_avatar_list${URL_SUFFIX}`;
export const memberAuthUserAvatarApproveUri = `${BASE_URL}/member_auth/approve_user_avatar${URL_SUFFIX}`;
export const memberAuthUserAvatarRejectUri = `${BASE_URL}/member_auth/reject_user_avatar${URL_SUFFIX}`;
export const memberAuthMemberPhotoListUri = `${BASE_URL}/member_auth/member_photo_list${URL_SUFFIX}`;
export const memberAuthMemberPhotoApproveUri = `${BASE_URL}/member_auth/approve_member_photo${URL_SUFFIX}`;
export const memberAuthMemberPhotoRejectUri = `${BASE_URL}/member_auth/reject_member_photo${URL_SUFFIX}`;
export const memberAuthMemberImageListUri = `${BASE_URL}/member_auth/member_image_list${URL_SUFFIX}`;
export const memberAuthMemberImageApproveUri = `${BASE_URL}/member_auth/approve_member_image${URL_SUFFIX}`;
export const memberAuthMemberImageRejectUri = `${BASE_URL}/member_auth/reject_member_image${URL_SUFFIX}`;

export const memberImagesAllUri = `${BASE_URL}/member_images/all${URL_SUFFIX}`;
export const memberImagesUploadUri = `${BASE_URL}/member_images/upload${URL_SUFFIX}`;
export const memberImagesDeleteUri = `${BASE_URL}/member_images/delete${URL_SUFFIX}`;

export const statisticsUserUri = `${BASE_URL}/statistics/member${URL_SUFFIX}`;
export const statisticsAllUri = `${BASE_URL}/statistics/all${URL_SUFFIX}`;

export const activityListsUri = `${BASE_URL}/activity/lists${URL_SUFFIX}`;
export const activityAddUri = `${BASE_URL}/activity/add${URL_SUFFIX}`;
export const activityEditUri = `${BASE_URL}/activity/edit${URL_SUFFIX}`;
export const activityInfoUri = `${BASE_URL}/activity/info${URL_SUFFIX}`;
export const activityOfflineUri = `${BASE_URL}/activity/offline${URL_SUFFIX}`;
export const activitySignInQrCodeUri = `${BASE_URL}/activity/sign_in_qrcode${URL_SUFFIX}`;
export const activityApplyListsUri = `${BASE_URL}/activity_apply/lists${URL_SUFFIX}`;

export const courseListsUri = `${BASE_URL}/course/lists${URL_SUFFIX}`;
export const courseAddUri = `${BASE_URL}/course/add${URL_SUFFIX}`;
export const courseEditUri = `${BASE_URL}/course/edit${URL_SUFFIX}`;
export const courseInfoUri = `${BASE_URL}/course/info${URL_SUFFIX}`;
export const courseOfflineUri = `${BASE_URL}/course/offline${URL_SUFFIX}`;
export const courseSignInQrCodeUri = `${BASE_URL}/course/sign_in_qrcode${URL_SUFFIX}`;

export const courseOrderListsUri = `${BASE_URL}/course_order/lists${URL_SUFFIX}`;
export const courseOrderDetailUri = `${BASE_URL}/course_order/detail${URL_SUFFIX}`;
export const courseOrderModifyMoneyUri = `${BASE_URL}/course_order/modify_money${URL_SUFFIX}`;
export const courseOrderCancelUri = `${BASE_URL}/course_order/cancel${URL_SUFFIX}`;

export const servicePackageAllUri = `${BASE_URL}/service_package/all${URL_SUFFIX}`;
export const servicePackageAddUri = `${BASE_URL}/service_package/add${URL_SUFFIX}`;
export const servicePackageEditUri = `${BASE_URL}/service_package/edit${URL_SUFFIX}`;
export const servicePackageInfoUri = `${BASE_URL}/service_package/info${URL_SUFFIX}`;
export const servicePackageOnlineUri = `${BASE_URL}/service_package/online${URL_SUFFIX}`;
export const servicePackageOfflineUri = `${BASE_URL}/service_package/offline${URL_SUFFIX}`;

export const servicePackageOrderModifyMoneyUri = `${BASE_URL}/service_package_order/modify_money${URL_SUFFIX}`;
export const servicePackageOrderListsUri = `${BASE_URL}/service_package_order/lists${URL_SUFFIX}`;
export const servicePackageOrderDetailUri = `${BASE_URL}/service_package_order/detail${URL_SUFFIX}`;
export const servicePackageOrderCancelUri = `${BASE_URL}/service_package_order/cancel${URL_SUFFIX}`;

export const withdrawCashListsUri = `${BASE_URL}/withdraw_cash/lists${URL_SUFFIX}`;
export const withdrawCashInfoUri = `${BASE_URL}/withdraw_cash/info${URL_SUFFIX}`;
export const withdrawCashAgreeUri = `${BASE_URL}/withdraw_cash/agree${URL_SUFFIX}`;
export const withdrawCashRejectUri = `${BASE_URL}/withdraw_cash/reject${URL_SUFFIX}`;
export const withdrawCashPayUri = `${BASE_URL}/withdraw_cash/pay${URL_SUFFIX}`;

export const vipCardSaveUri = `${BASE_URL}/vip_card/save${URL_SUFFIX}`;
export const vipCardListsUri = `${BASE_URL}/vip_card/lists${URL_SUFFIX}`;
export const vipCardAllUri = `${BASE_URL}/vip_card/all${URL_SUFFIX}`;
export const vipCardInfoUri = `${BASE_URL}/vip_card/info${URL_SUFFIX}`;
export const vipCardOnlineUri = `${BASE_URL}/vip_card/online${URL_SUFFIX}`;
export const vipCardOfflineUri = `${BASE_URL}/vip_card/offline${URL_SUFFIX}`;

export const vipCardNoListsUri = `${BASE_URL}/vip_card_no/lists${URL_SUFFIX}`;
export const vipCardNoGenerateUri = `${BASE_URL}/vip_card_no/generate${URL_SUFFIX}`;
export const vipCardNoExportUri = `${BASE_URL}/vip_card_no/export${URL_SUFFIX}`;

export const marketingActivityListsUri = `${BASE_URL}/marketing_activity/lists${URL_SUFFIX}`;
export const marketingActivitySaveUri = `${BASE_URL}/marketing_activity/save${URL_SUFFIX}`;
export const marketingActivityInfoUri = `${BASE_URL}/marketing_activity/info${URL_SUFFIX}`;
export const marketingActivityOnlineUri = `${BASE_URL}/marketing_activity/online${URL_SUFFIX}`;
export const marketingActivityOfflineUri = `${BASE_URL}/marketing_activity/offline${URL_SUFFIX}`;

export const marketingActivityJoinerListsUri = `${BASE_URL}/marketing_activity_joiner/lists${URL_SUFFIX}`;

export const memberProfileExchangeApplyListsUri = `${BASE_URL}/member_profile_exchange_apply/lists${URL_SUFFIX}`;
export const memberProfileExchangeApplyAuditUri = `${BASE_URL}/member_profile_exchange_apply/audit${URL_SUFFIX}`;

export const platformAccountBookListsUri = `${BASE_URL}/platform_account_book/lists${URL_SUFFIX}`;

export const matchmakerListsUri = `${BASE_URL}/matchmaker/lists${URL_SUFFIX}`;
export const matchmakerTerminateUri = `${BASE_URL}/matchmaker/terminate${URL_SUFFIX}`;
export const matchmakerSalaryListUri = `${BASE_URL}/matchmaker/salary${URL_SUFFIX}`;
export const matchmakerRecommendUri = `${BASE_URL}/matchmaker/recommend${URL_SUFFIX}`;

